package com.swz.dcrm.model;

import com.bin.david.form.annotation.SmartColumn;
import com.bin.david.form.annotation.SmartTable;

import java.util.List;

public class DailyComeShop {

    private int comeShopCustomerCount;
    private List<ComeShopItem>comeShopItemList;

    public int getComeShopCustomerCount() {
        return comeShopCustomerCount;
    }

    public void setComeShopCustomerCount(int comeShopCustomerCount) {
        this.comeShopCustomerCount = comeShopCustomerCount;
    }

    public List<ComeShopItem> getComeShopItemList() {
        return comeShopItemList;
    }

    public void setComeShopItemList(List<ComeShopItem> comeShopItemList) {
        this.comeShopItemList = comeShopItemList;
    }

    @SmartTable
    public class  ComeShopItem{

        /**
         * consultantId : 0
         * consultantName : string
         * customerId : 0
         * customerName : string
         */

        private int consultantId;
        @SmartColumn(id = 2)
        private String consultantName;
        private int customerId;
        @SmartColumn(id=1)
        private String customerName;

        public int getConsultantId() {
            return consultantId;
        }

        public void setConsultantId(int consultantId) {
            this.consultantId = consultantId;
        }

        public String getConsultantName() {
            return consultantName;
        }

        public void setConsultantName(String consultantName) {
            this.consultantName = consultantName;
        }

        public int getCustomerId() {
            return customerId;
        }

        public void setCustomerId(int customerId) {
            this.customerId = customerId;
        }

        public String getCustomerName() {
            return customerName;
        }

        public void setCustomerName(String customerName) {
            this.customerName = customerName;
        }
    }
}
